Skip to main content

stop using font

Type

command

Summary

Unloads a font file from memory.

Syntax

stop using font file <fontFile>

Description

The stop using font command unloads a font file from memory. The fontFile is the path of the font file to unload

note

The fontNames function will return the name of all available fonts and the fontFilesInUse property will return the fill paths of the loaded font files. To determine the name of the newly unloaded font, compare the value of the fontNames before and after unloading the font.

Parameters

NameTypeDescription

fontFile

Examples

stop using font file "C:/myFontFolder/myCustomFont.ttf"

property: fontFilesInUse

command: start using font

function: fontNames

glossary: function, property

Compatibility and Support

Introduced

LiveCode 6.5

OS

mac

windows

Platforms

desktop

Thank you for your feedback!

Was this page helpful?